package com.mv.service;

import com.mv.pojo.*;
import com.mv.vo.MovieRecord;
import com.mv.vo.Record;
import com.mv.vo.Select;
import com.mv.vo.UserRecord;

import java.util.List;

public interface DealService {
    List<Deal> getDealList(String query,String mode);

    void consumeDeal(Card card, Movie movie);

    void rechargeDeal(Recharge recharge);

    List<Deal> getDealListByCardId(String cardId,String query,String mode);

    void deleteDeal(String cardId);

    Deal getDealById(Integer id);

    String getUserNameById(Integer id);

    List<Deal> getRechargeList();

    List<Select> getSelectList();

    List<Deal> getConsumeList();

    Record getRecord();

    List<UserRecord> getUserRecordList();
}
